<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <link rel="icon" href="https://jscdn.com.cn/highcharts/images/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>店铺管理</title>
    <script src="js/vue.js"></script>
    <script src="js/axios.min.js"></script>
    <script src="js/vue-router.js"></script>
    <script src="js/jquery-1.11.3.min.js"></script>
    <script src="https://code.highcharts.com.cn/highcharts/highcharts.js"></script>
    <script src="https://code.highcharts.com.cn/highcharts/modules/exporting.js"></script>
    <script src="https://code.highcharts.com.cn/highcharts/modules/series-label.js"></script>
    <script src="https://code.highcharts.com.cn/highcharts/modules/oldie.js"></script>
    <script src="https://code.highcharts.com.cn/highcharts-plugins/highcharts-zh_CN.js"></script>
    <script src="https://code.highcharts.com.cn/highcharts/themes/grid-light.js"></script>
    <title>店铺管理</title>
    <script src="js/layui/layui.js"></script>

    <link rel="stylesheet" href="js/layui/css/layui.css" />
    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- 引入组件库 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
    <link rel="stylesheet" href="shop-detail.css">
</head>
<body class="layui-layout-body">
    <div id="app">
        <div class="layui-layout layui-layout-admin" >
            <div class="layui-header">
                <div class="layui-logo">竞价系统后台管理</div>
                <!-- 头部区域（可配合layui已有的水平导航） -->
                <ul class="layui-nav layui-layout-left">
                    <li class="layui-nav-item" @click="sectionindex=1"><a href="javascript:;">竞价日志</a></li>
                    <li class="layui-nav-item" @click="setting()"><a href="javascript:;">竞价推广</a></li>
                    <li class="layui-nav-item" @click="getplan()"><a href="javascript:;">竞价计划</a></li>
                    <li class="layui-nav-item" @click="getOrderList()"><a href="javascript:;">获取订单</a></li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">店铺监测</a>
                        <dl class="layui-nav-child">
                            <dd @click="getshopstatus()"><a href="javascript:;">查看检测</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item" @click="checkreport()"><a href="javascript:;">运营报告</a></li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">异常检查</a>
                        <dl class="layui-nav-child">
                            <dd @click="checkbug()"><a href="javascript:;">店铺检查</a></dd>
                            <dd @click="checkip()"><a href="javascript:;">IP检查</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item" @click="getdeletedshop()"><a href="javascript:;">回收站</a></li>
                    <li class="layui-nav-item" @click="research()"><a href="javascript:;">商圈调研</a></li>
                    <li class="layui-nav-item" @click="getBiddingData()"><a href="javascript:;">效果对比</a></li>
                    <!--
                    <li class="layui-nav-item">
                        <a href="javascript:;">其它系统</a>
                        <dl class="layui-nav-child">
                            <dd><a href="">邮件管理</a></dd>
                            <dd><a href="">消息管理</a></dd>
                            <dd><a href="">授权管理</a></dd>
                        </dl>
                    </li>
                    -->
                </ul>
                <!--
                <ul class="layui-nav layui-layout-right">
                    <li class="layui-nav-item" style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">{{ shopname }}</li>
                </ul>
                -->
            </div>

            <div class="layui-side layui-bg-black">
                <div class="layui-side-scroll">
                    <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                    <ul class="layui-nav layui-nav-tree"  lay-filter="test">

                        <!--美团店铺列表-->
                        <li class="layui-nav-item">
                            <a class="" href="javascript:;">美团店铺&nbsp;{{ mtShopNum }}个</a>
                            <dl class="layui-nav-child">
                                <dd v-for="(shop,index) in mtlst" @click="getlog(shop.id,shop.shoptype,index,shop.name)"><a href="javascript:;">{{ shop.name }}</a></dd>
                            </dl>
                        </li>

                        <!--饿了么店铺列表-->
                        <li class="layui-nav-item">
                            <a href="javascript:;">饿了么店铺&nbsp;{{ eleShopNum }}个</a>
                            <dl class="layui-nav-child">
                                <dd v-for="(shop,index) in elelst" @click="getlog(shop.id,shop.shoptype,index,shop.name)"><a href="javascript:;">{{ shop.name }}</a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item">
                            <a href="javascript:;">激活码店铺&nbsp;{{ codeShopNum }}个</a>
                            <dl class="layui-nav-child">
                                <dd v-for="(shop,index) in codeshoplst" @click="getlog(shop.shopId,shop.type,index,shop.name)"><a href="javascript:;">{{ shop.name }}</a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item" @click="sectionindex = 11">
                            <a href="javascript:;">公众号店铺&nbsp;{{ allShopNum }}个</a>
                        </li>
                        <li class="layui-nav-item" @click="sectionindex = 13">
                            <a href="javascript:;">网页店铺&nbsp;{{ pcshopnum }}个</a>
                        </li>
                        <!--
                        <li class="layui-nav-item"><a href="">云市场</a></li>
                        <li class="layui-nav-item"><a href="">发布商品</a></li>
                        -->
                    </ul>
                </div>
            </div>

            <div class="layui-body">
            <!-- 内容主体区域 -->
                <div style="padding: 8px;">
                    <div id="logs" v-if="sectionindex == 1">
                        <table class="layui-table" v-if="shopid != 0">
                            <colgroup>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                            </colgroup>
                            <thead>
                                <tr>
                                    <th>时间</th>
                                    <th>目标曝光量</th>
                                    <th>实际曝光量</th>
                                    <th>周期目标曝光</th>
                                    <th>周期实际曝光</th>
                                    <th>点金</th>
                                    <th>订单/访问</th>
                                    <th>目标预算</th>
                                    <th>花费/总预算</th>
                                    <th>操作说明</th>
                                    <th>异常说明</th>
                                    <th>余额</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr v-for="log in logs">
                                    <td>{{ log.biddingtime }}</td>
                                    <td>{{ log.targetnum }}</td>
                                    <td>{{ log.exposurenum }}</td>
                                    <td>{{ log.periodtarget }}</td>
                                    <td>{{ log.periodexposure }}</td>
                                    <td>{{ log.baseprice }}</td>
                                    <td>{{ log.realTimeOrder }}</td>
                                    <td>{{ log.budget }}</td>
                                    <td>{{ log.currentCost }}</td>
                                    <td>{{ log.log }}</td>
                                    <td>{{ log.exLog }}</td>
                                    <td>{{ log.blance }}</td>
                                </tr>
                            </tbody>
                        </table>

                    </div>
                    <div id="settings" v-if="sectionindex == 2" style="margin-top: 30px;">

                        <div>
                            <!--保存按钮-->
                            <div class="layui-fluid pane-input">
                                <div class="layui-row layui-col-space12">
                                    <div class="layui-col-md3 layui-form layui-form-pane">

                                    </div>
                                    <div class="layui-col-md3 layui-form layui-form-pane">

                                    </div>
                                    <div class="layui-col-md1 layui-col-md-offset5 layui-form layui-form-pane">
                                        <button type="button" class="layui-btn" style="width: -webkit-fill-available;" @click="savesettings()">保存</button>
                                    </div>

                                </div>
                            </div>

                            <!-- 店铺名，店铺账号，店铺id -->
                            <div class="layui-fluid pane-input">
                                <div class="layui-row layui-col-space12">
                                    <div class="layui-col-md4 layui-form layui-form-pane">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">店铺名</label>
                                            <div class="layui-input-block">
                                                <input type="text" v-model="settings.shopname"   autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md4 layui-form layui-form-pane">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">店铺账号</label>
                                            <div class="layui-input-block">
                                                <input type="text" v-model="settings.account"  autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md4 layui-form layui-form-pane">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">店铺ID</label>
                                            <div class="layui-input-block">
                                                <input type="text" v-model="shopid"  autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <!-- 推广预算，预曝光量，建议预算，建议曝光量 -->
                            <div class="layui-fluid pane-input">
                                <div class="layui-row layui-col-space12">
                                    <div class="layui-col-md4 layui-form layui-form-pane">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">推广预算</label>
                                            <div class="layui-input-block">
                                                <input type="text"  required  lay-verify="required"  v-model="settings.budget" autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md2 layui-form layui-form-pane">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">建议预算</label>
                                            <div class="layui-input-block">
                                                <input type="text"  v-model="settings.advicebudget" autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md2 layui-form layui-form-pane">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">建议曝光</label>
                                            <div class="layui-input-block">
                                                <input type="text"  v-model="settings.advicetarget" autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md4 layui-form layui-form-pane">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">预曝光量</label>
                                            <div class="layui-input-block">
                                                <input type="text"  required  lay-verify="required" v-model="settings.targetExposure" autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>


                            <!-- 估值曝光，明日曝光百分比，今天曝光百分比（禁止修改），闲时曝光百分比-->
                            <div class="layui-fluid pane-input">
                                <div class="layui-row layui-col-space12">
                                    <div class="layui-col-md4 layui-form layui-form-pane">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">估值曝光</label>
                                            <div class="layui-input-block">
                                                <input type="text"  v-model="settings.nearExposure" autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md2 layui-form layui-form-pane">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">明日曝光比</label>
                                            <div class="layui-input-block">
                                                <input type="text"  v-model="settings.nextExposureRate" autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md2 layui-form layui-form-pane">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">今日曝光比</label>
                                            <div class="layui-input-block">
                                                <input type="text"  v-model="settings.todayExposureRate" autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md4 layui-form layui-form-pane">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">闲时曝光比</label>
                                            <div class="layui-input-block">
                                                <input type="text" required  lay-verify="required" v-model="settings.idleExposureRate" autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <!-- 计算曝光比，限制百分比，基数百分比,获取曝光比，按照曝光比重新生成计划 -->
                            <div class="layui-fluid pane-input">
                                <div class="layui-row layui-col-space12">
                                    <div class="layui-col-md4 layui-form layui-form-pane">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">计算曝光比</label>
                                            <div class="layui-input-block">
                                                <input type="text"  autocomplete="off" v-model="settings.allExposureRate" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md2 layui-form layui-form-pane">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">限制百分比</label>
                                            <div class="layui-input-block">
                                                <input type="text"  required  lay-verify="required" v-model="settings.controlRate"  autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md2 layui-form layui-form-pane">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">基数百分比</label>
                                            <div class="layui-input-block">
                                                <input type="text" required  lay-verify="required" v-model="settings.baseRate" autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md2 layui-form layui-form-pane">
                                        <button type="button" class="layui-btn layui-btn-primary" @click="getNewExposureRate()">
                                            <i class="layui-icon">&#xe666;</i> 获取此刻曝光比
                                        </button>
                                    </div>
                                    <div class="layui-col-md2 layui-form layui-form-pane">
                                        <button type="button" class="layui-btn layui-btn-primary" @click="createNewPlan()">
                                            <i class="layui-icon">&#xe631;</i> 生成曝光比计划
                                        </button>
                                    </div>
                                </div>
                            </div>
                            <!-- 6个开关 -->
                            <div class="layui-fluid">
                                <div class="layui-row layui-col-space8">
                                    <!-- 竞价开关 -->
                                    <div class="layui-col-md2">
                                        <label>竞价&nbsp;</label>
                                        <el-switch
                                            v-model="settings.isenable"
                                            active-color="#009688"
                                            inactive-color="#d2d2d2">
                                        </el-switch>
                                    </div>

                                    <!-- 监控开关 -->
                                    <div class="layui-col-md2">
                                        <label>监控&nbsp;</label>
                                        <el-switch
                                            v-model="settings.guard"
                                            active-color="#009688"
                                            inactive-color="#d2d2d2">
                                        </el-switch>
                                    </div>

                                    <!-- 定时定价开关 -->
                                    <div class="layui-col-md2">
                                        <label>定时定价&nbsp;</label>
                                        <el-switch
                                            v-model="settings.historyMode"
                                            active-color="#009688"
                                            inactive-color="#d2d2d2">
                                        </el-switch>
                                    </div>

                                    <!-- 锁定推广开关 -->
                                    <div class="layui-col-md2">
                                        <label>锁定推广&nbsp;</label>
                                        <el-switch
                                            v-model="settings.lock"
                                            active-color="#009688"
                                            inactive-color="#d2d2d2">
                                        </el-switch>
                                    </div>

                                    <!-- 锁定忙时开关 -->
                                    <div class="layui-col-md2">
                                        <label>锁定忙时&nbsp;</label>
                                        <el-switch
                                            v-model="settings.busyTimeLock"
                                            active-color="#009688"
                                            inactive-color="#d2d2d2">
                                        </el-switch>
                                    </div>

                                    <!--获取新参数开关-->
                                    <div class="layui-col-md2">
                                        <label>参数&nbsp;</label>
                                        <el-switch
                                            v-model="settings.acquirepara"
                                            active-color="#009688"
                                            inactive-color="#d2d2d2">
                                        </el-switch>
                                    </div>
                                </div>
                            </div>

                            <!-- 竞价时间段添加和修改 -->
                            <div class="layui-fluid">
                                <!--按钮,点击将biddingtimeindex + 1,这样可以多显示一个竞价时间段-->
                                <div class="layui-row" style="margin-bottom: 6px;margin-top: 21px;">
                                    <div class="layui-col-md12">
                                        <button type="button" class="layui-btn layui-btn-primary" @click="settings.biddingtimeindex = settings.biddingtimeindex + 1 > 4 ? 4 : settings.biddingtimeindex + 1">
                                            <i class="layui-icon">&#xe608;</i> 添加竞价时段
                                        </button>
                                        <span style="color: #c2c2c2;font-size: 12px;">&emsp;营业时间: {{ settings.shipTime }}</span>
                                    </div>
                                </div>
                                <div class="layui-row" v-if="settings.biddingtimeindex >= 1" style="margin-bottom: 6px;">
                                    <div class="layui-col-md12">
                                        <el-time-picker
                                            is-range
                                            v-model="settings.adTimeList[0]"
                                            range-separator="至"
                                            start-placeholder="开始时间"
                                            end-placeholder="结束时间"
                                            placeholder="选择时间范围">
                                        </el-time-picker>
                                        <button type="button" class="layui-btn layui-btn-primary" style="height: 39px;line-height: 39px;" @click="settings.biddingtimeindex = settings.biddingtimeindex - 1">
                                            <i class="layui-icon" style="font-size: 18px;">&#xe640;</i>
                                        </button>
                                    </div>

                                </div>
                                <div class="layui-row" v-if="settings.biddingtimeindex >= 2" style="margin-bottom: 6px;">
                                    <div class="layui-col-md12">
                                        <el-time-picker
                                            is-range
                                            v-model="settings.adTimeList[1]"
                                            range-separator="至"
                                            start-placeholder="开始时间"
                                            end-placeholder="结束时间"
                                            placeholder="选择时间范围">
                                        </el-time-picker>
                                        <button type="button" class="layui-btn layui-btn-primary" style="height: 39px;line-height: 39px;" @click="settings.biddingtimeindex = settings.biddingtimeindex - 1">
                                            <i class="layui-icon" style="font-size: 18px;">&#xe640;</i>
                                        </button>
                                    </div>

                                </div>
                                <div class="layui-row" v-if="settings.biddingtimeindex >= 3" style="margin-bottom: 6px;">
                                    <div class="layui-col-md12">
                                        <el-time-picker
                                            is-range
                                            v-model="settings.adTimeList[2]"
                                            range-separator="至"
                                            start-placeholder="开始时间"
                                            end-placeholder="结束时间"
                                            placeholder="选择时间范围">
                                        </el-time-picker>
                                        <button type="button" class="layui-btn layui-btn-primary" style="height: 39px;line-height: 39px;" @click="settings.biddingtimeindex = settings.biddingtimeindex - 1">
                                            <i class="layui-icon" style="font-size: 18px;">&#xe640;</i>
                                        </button>
                                    </div>

                                </div>
                                <div class="layui-row" v-if="settings.biddingtimeindex >= 4" style="margin-bottom: 21px;">
                                    <div class="layui-col-md12">
                                        <el-time-picker
                                            is-range
                                            v-model="settings.adTimeList[3]"
                                            range-separator="至"
                                            start-placeholder="开始时间"
                                            end-placeholder="结束时间"
                                            placeholder="选择时间范围">
                                        </el-time-picker>
                                        <button type="button" class="layui-btn layui-btn-primary" style="height: 39px;line-height: 39px;" @click="settings.biddingtimeindex = settings.biddingtimeindex - 1">
                                            <i class="layui-icon" style="font-size: 18px;">&#xe640;</i>
                                        </button>
                                    </div>

                                </div>
                            </div>

                            <div class="layui-fluid" style="margin-top: 26px; border: 1px solid #e2e2e2;padding-top: 15px; margin-bottom: 20px;margin-left: 15px;margin-right: 15px;">

                                <div class="layui-row layui-col-space12">
                                    <!-- 闲时最低，忙时最低，忙时最高,七天平均 -->
                                    <div class="layui-col-md3 layui-form">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">闲时最低价</label>
                                            <div class="layui-input-block">
                                                <input type="text"  required  lay-verify="required" v-model="settings.idleMinPrice"  autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md3 layui-form">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">忙时最高价</label>
                                            <div class="layui-input-block">
                                                <input type="text" autocomplete="off" v-model="settings.busyMaxPrice" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md3 layui-form">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">忙时最低价</label>
                                            <div class="layui-input-block">
                                                <input type="text" autocomplete="off" v-model="settings.busyMinPrice" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md3 layui-form">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">平均出价</label>
                                            <div class="layui-input-block">
                                                <input type="text" v-model="settings.daysAvgPrice" autocomplete="off" class="layui-input">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-row layui-col-space12">

                                    <div class="layui-col-md3 layui-form">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">订单划分比</label>
                                            <div class="layui-input-block">
                                                <input type="text"  v-model="settings.percent" autocomplete="off" id="input-percent"
                                                       class="layui-input"/>
                                                <label for="input-percent" v-if="settings.invalidPercent" style="color: #FF5722;">请输入合理的百分比</label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md3 layui-form">
                                        <div class="layui-form-item">
                                            <label class="layui-form-label">忙时下单率</label>
                                            <div class="layui-input-block">
                                                <input type="text"  v-model="settings.busyOrderRate" autocomplete="off"
                                                       class="layui-input"/>

                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-col-md3">
                                        <button type="button" class="layui-btn layui-btn-primary" @click="acquireIdleMaxPrice()">
                                            <i class="layui-icon">&#xe666;</i> 获取并更新闲时最高价
                                        </button>
                                    </div>
                                    <div class="layui-col-md3">

                                    </div>
                                </div>
                            </div>

                            <!-- 闲时,忙时列表 -->
                            <div class="layui-fluid">

                                <div class="layui-row layui-col-space18">
                                    <div class="layui-col-md8">
                                        <table class="layui-table">
                                            <colgroup>
                                                <col>
                                                <col>
                                                <col>
                                                <col>
                                            </colgroup>
                                            <thead>
                                                <tr>
                                                    <th>闲时</th>
                                                    <th>闲时最高价</th>
                                                    <th>下单转化率</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr v-for="(idleInfo, index) in settings.idleInfoList">
                                                    <td style="padding:0px 8px;">{{ idleInfo }}</td>
                                                    <td style="padding:0px 8px;"><input type="text" style="border: 0 none;" required lay-verify="required" v-model="settings.idleMaxPriceList[index]" autocomplete="off" class="layui-input"> </td>
                                                    <td style="padding:0px 8px;">{{ settings.idleOrderRateList[index] }}</td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                    <div class="layui-col-md4">
                                        <table class="layui-table">
                                            <colgroup>
                                                <col>
                                            </colgroup>
                                            <thead>
                                                <tr>
                                                    <th>忙时分布</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr v-for="(busyInfo, index) in settings.busyInfoList">
                                                    <td>{{ busyInfo }}</td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>



                            <!--
                                <div class="layui-fluid">
                                    <div class="layui-row">
                                        <div class="layui-col-md12">
                                            <table class="layui-table" >
                                                <colgroup>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>

                                                </colgroup>
                                                <thead>
                                                    <tr>
                                                        <th>00:30</th>
                                                        <th>01:00</th>
                                                        <th>01:30</th>
                                                        <th>02:00</th>
                                                        <th>02:30</th>
                                                        <th>03:00</th>
                                                        <th>03:30</th>
                                                        <th>04:00</th>
                                                        <th>04:30</th>
                                                        <th>05:00</th>
                                                        <th>05:30</th>
                                                        <th>06:00</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                    <tr>
                                                        <td style="text-align: center;" v-for="num in settings.orderList1">{{ num }}</td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                    <div class="layui-row">
                                        <div class="layui-col-md12">
                                            <table class="layui-table">
                                                <colgroup>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                </colgroup>
                                                <thead>
                                                    <tr>
                                                        <th>06:30</th>
                                                        <th>07:00</th>
                                                        <th>07:30</th>
                                                        <th>08:00</th>
                                                        <th>08:30</th>
                                                        <th>09:00</th>
                                                        <th>09:30</th>
                                                        <th>10:00</th>
                                                        <th>10:30</th>
                                                        <th>11:00</th>
                                                        <th>11:30</th>
                                                        <th>12:00</th>


                                                    </tr>
                                                </thead>
                                                <tbody>
                                                    <tr>
                                                        <td style="text-align: center;" v-for="num in settings.orderList2">{{ num }}</td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                    <div class="layui-row">
                                        <div class="layui-col-md12">
                                            <table class="layui-table">
                                                <colgroup>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                </colgroup>
                                                <thead>
                                                    <tr>
                                                        <th>12:30</th>
                                                        <th>13:00</th>
                                                        <th>13:30</th>
                                                        <th>14:00</th>

                                                        <th>14:30</th>
                                                        <th>15:00</th>
                                                        <th>15:30</th>
                                                        <th>16:00</th>

                                                        <th>16:30</th>
                                                        <th>17:00</th>
                                                        <th>17:30</th>
                                                        <th>18:00</th>


                                                    </tr>
                                                </thead>
                                                <tbody>
                                                    <tr>
                                                        <td style="text-align: center;" v-for="num in settings.orderList3">{{ num }}</td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                    <div class="layui-row">
                                        <div class="layui-col-md12">
                                            <table class="layui-table">
                                                <colgroup>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>
                                                    <col>

                                                </colgroup>
                                                <thead>
                                                    <tr>
                                                        <th>18:30</th>
                                                        <th>19:00</th>
                                                        <th>19:30</th>
                                                        <th>20:00</th>
                                                        <th>20:30</th>
                                                        <th>21:00</th>
                                                        <th>21:30</th>
                                                        <th>22:00</th>
                                                        <th>22:30</th>
                                                        <th>23:00</th>
                                                        <th>23:30</th>
                                                        <th>24:00</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                    <tr>
                                                        <td style="text-align: center;" v-for="num in settings.orderList4">{{ num }}</td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            -->
                        </div>


                    </div>
                    <div id="plans" v-if="sectionindex == 3">
                        <table class="layui-table">
                            <colgroup>
                                <col>
                                <col>
                                <col>
                            </colgroup>
                            <thead>
                                <tr>
                                    <th>时间</th>
                                    <th>目标曝光量</th>
                                    <th>目标预算</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr v-for="plan in plans">
                                    <td>{{ plan.exposuretime }}</td>
                                    <td>{{ plan.exposurenum }}</td>
                                    <td>{{ plan.budget }}</td>
                                </tr>

                            </tbody>
                        </table>
                    </div>
                    <div id="orders" v-if="sectionindex == 4">
                        <div class="layui-fluid">
                            <div class="layui-row layui-col-space12">
                                <!-- 闲时最低，忙时最低，忙时最高,七天平均 -->
                                <div class="layui-col-md6">
                                    <table class="layui-table" lay-skin="line">
                            <colgroup>
                                <col>
                                <col>
                                <col>
                            </colgroup>
                            <thead>
                                <tr>
                                    <th>日期</th>
                                    <th>订单数</th>
                                    <th>获取</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr v-for="(order,index) in orderList">
                                    <td>{{ order.day }}</td>
                                    <td>{{ order.num }}</td>
                                    <td>
                                        <span style="color: #1E9FFF;" v-if="order.null == 1" class="clickText" @click="getCurrentOrder(index)">
                                            <i class="layui-icon layui-icon-refresh-1" style="font-size: 14px; color: #1E9FFF;"></i>获取
                                        </span>
                                        <span v-if="order.null == 0">
                                            无需获取
                                        </span>
                                        <span style="color: #009688;" v-if="order.null == -1">
                                            获取中<i class="layui-icon layui-icon-loading" style="font-size: 14px; color: #1E9FFF;"></i>
                                        </span>
                                    </td>
                                </tr>

                            </tbody>
                        </table>
                                </div>
                                <div class="layui-col-md6">
                                    <div id="container" style="height:400px"></div>
                                </div>
                            </div>
                        </div>
                        <!--48个订单数, highcharts折线图-->
                        <div class="layui-row layui-col-space18">
                            <div class="layui-col-md12">
                                <div id="daysOrderList" style="height:400px"></div>
                            </div>
                        </div>


                    </div>
                    <div id="monitor" v-if="sectionindex == 5">
                        <div class="layui-tab layui-tab-card">
                            <ul class="layui-tab-title">
                                <li class="layui-this">美团</li>
                                <li>饿了么</li>
                            </ul>
                            <div class="layui-tab-content">
                                <div class="layui-tab-item layui-show">
                                    <table class="layui-table" lay-skin="line">
                                        <colgroup>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                        </colgroup>
                                        <thead>
                                            <tr>
                                                <th>店铺ID</th>
                                                <th>系统开关</th>
                                                <th>系统开关</th>
                                                <th>平台开关</th>
                                                <th>生成计划</th>
                                                <th>推广时间</th>
                                                <th>营业时间</th>
                                                <th>删除</th>
                                                <th>更新</th>
                                                <th>已更新</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr v-for="(shop,index) in mtshopstatus">
                                                <td>{{ shop.name }}</td>
                                                <td>{{ shop.id }}</td>
                                                <td>
                                                    <i v-if="shop.isEnable == 1" class="layui-icon layui-icon-circle-dot" style="font-size: 18px; color: #009688;"></i>
                                                    <i v-if="shop.isEnable == 0" class="layui-icon layui-icon-circle-dot" style="font-size: 18px; color: #FF5722;"></i>
                                                </td>
                                                <td>
                                                    <i v-if="shop.status == 1" class="layui-icon layui-icon-circle-dot" style="font-size: 18px; color: #009688;"></i>
                                                    <i v-if="shop.status == 0" class="layui-icon layui-icon-circle-dot" style="font-size: 18px; color: #FF5722;"></i>
                                                </td>
                                                <td>
                                                    <i v-if="shop.plans == 1" class="layui-icon layui-icon-circle-dot" style="font-size: 18px; color: #009688;"></i>
                                                    <i v-if="shop.plans == 0" class="layui-icon layui-icon-circle-dot" style="font-size: 18px; color: #FF5722;"></i>
                                                </td>
                                                <td>{{ shop.adTime }}</td>
                                                <td>{{ shop.shipTime }}</td>
                                                <td @click="deleteshop(shop.id,1,index)"><i class="layui-icon layui-icon-delete" style="font-size: 19px; color: #FF5722;"></i> </td>
                                                <td><i class="layui-icon layui-icon-refresh" style="font-size: 14px; color: #01AAED;"></i> </td>
                                                <td>
                                                    <i class="layui-icon layui-icon-ok" style="font-size: 18px; color: #009688;"></i>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div class="layui-tab-item">
                                    <table class="layui-table" lay-skin="line">
                                        <colgroup>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                        </colgroup>
                                        <thead>
                                            <tr>
                                                <th>店铺ID</th>
                                                <th>系统开关</th>
                                                <th>系统开关</th>
                                                <th>平台开关</th>
                                                <th>生成计划</th>
                                                <th>推广时间</th>
                                                <th>营业时间</th>
                                                <th>删除</th>
                                                <th>更新</th>
                                                <th>已更新</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr v-for="(shop,index) in eleshopstatus">
                                                <td>{{ shop.name }}</td>
                                                <td>{{ shop.id }}</td>
                                                <td>
                                                    <i v-if="shop.isEnable == 1" class="layui-icon layui-icon-circle-dot" style="font-size: 18px; color: #009688;"></i>
                                                    <i v-if="shop.isEnable == 0" class="layui-icon layui-icon-circle-dot" style="font-size: 18px; color: #FF5722;"></i>
                                                </td>
                                                <td>
                                                    <i v-if="shop.status == 1" class="layui-icon layui-icon-circle-dot" style="font-size: 18px; color: #009688;"></i>
                                                    <i v-if="shop.status == 0" class="layui-icon layui-icon-circle-dot" style="font-size: 18px; color: #FF5722;"></i>
                                                </td>
                                                <td>
                                                    <i v-if="shop.plans == 1" class="layui-icon layui-icon-circle-dot" style="font-size: 18px; color: #009688;"></i>
                                                    <i v-if="shop.plans == 0" class="layui-icon layui-icon-circle-dot" style="font-size: 18px; color: #FF5722;"></i>
                                                </td>
                                                <td>{{ shop.adTime }}</td>
                                                <td>{{ shop.shipTime }}</td>
                                                <td><i class="layui-icon layui-icon-delete" style="font-size: 19px; color: #FF5722;"></i> </td>
                                                <td><i class="layui-icon layui-icon-refresh" style="font-size: 14px; color: #01AAED;"></i> </td>
                                                <td>
                                                    <i class="layui-icon layui-icon-ok" style="font-size: 18px; color: #009688;"></i>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>

                    </div>
                    <div id="report" v-if="sectionindex == 6">
                        <table class="layui-table" lay-skin="line">
                            <colgroup>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                            </colgroup>
                            <thead>
                                <tr>
                                    <th>序号</th>
                                    <th>店铺ID</th>
                                    <th>账号</th>
                                    <th>店名</th>
                                    <th>报告数据</th>
                                    <th>获取数据</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr v-for="(result,index) in checkResult">
                                    <td>{{ index + 1 }}</td>
                                    <td>{{ result.shopId }}</td>
                                    <td>{{ result.account }}</td>
                                    <td>{{ result.shopName }}</td>
                                    <td>
                                        <i v-if="result.hasReportData == 1" class="layui-icon" style="color: #009688;">&#xe617;</i>
                                        <i v-if="result.hasReportData == 0" class="layui-icon" style="color: #FF5722;">&#xe617;</i>
                                    </td>
                                    <td>
                                        <p v-if="result.hasReportData == 1">无需获取</p>
                                        <p style="color: #FF5722;" class="clickText" v-if="result.hasReportData == 0" @click="getReportData(result.shopId,index)">获取数据</p>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div id="check" v-if="sectionindex == 7">

                        <table class="layui-table">
                            <colgroup>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                            </colgroup>
                            <thead>
                                <tr>
                                    <th>序号</th>
                                    <th>店铺</th>
                                    <th>格式化时间</th>
                                    <th>营/推检查</th>
                                    <th>推广检查</th>
                                    <th>计划检查</th>
                                    <th>日志检查</th>
                                    <th>异常</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr v-for="(exception,index) in exceptionList">
                                    <td>{{ index + 1 }}</td>
                                    <td>{{ exception.date.shopName }}</td>
                                    <td>{{ exception.date.message[0] }}</td>
                                    <td>{{ exception.date.message[1] }}</td>
                                    <td>{{ exception.date.message[2] }}</td>
                                    <td>{{ exception.date.message[3] }}</td>
                                    <td>{{ exception.date.message[4] }}</td>
                                    <td>
                                        <i  v-if="exception.error==0" class="layui-icon" style="color: green">&#xe617;</i>
                                        <i  v-if="exception.error==1" class="layui-icon" style="color: red">&#xe617;</i>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div id="recover" v-if="sectionindex == 8">
                        <div class="layui-tab layui-tab-card">
                            <ul class="layui-tab-title">
                                <li class="layui-this">美团</li>
                                <li>饿了么</li>
                            </ul>
                            <div class="layui-tab-content">
                                <div class="layui-tab-item layui-show">
                                    <table class="layui-table">
                                        <colgroup>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                        </colgroup>
                                        <thead>
                                            <tr>
                                                <th>序号</th>
                                                <th>店铺名称</th>
                                                <th>店铺ID</th>
                                                <th>店铺账号</th>
                                                <th>录店时间</th>
                                                <th>解绑时间</th>
                                                <th>恢复</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr v-for="(shop, index) in mtdeletedshops">
                                                <td>{{ index + 1 }}</td>
                                                <td>{{ shop.name }}</td>
                                                <td>{{ shop.id }}</td>
                                                <td>{{ shop.account }}</td>
                                                <td>{{ shop.createTime }}</td>
                                                <td>{{ shop.deleteTime }}</td>
                                                <td style="color: #01AAED;" class="clickText" @click="recovershop(shop.id,1,index)">恢复</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div class="layui-tab-item">
                                    <table class="layui-table">
                                        <colgroup>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                            <col>
                                        </colgroup>
                                        <thead>
                                            <tr>
                                                <th>序号</th>
                                                <th>店铺名称</th>
                                                <th>店铺ID</th>
                                                <th>店铺账号</th>
                                                <th>录店时间</th>
                                                <th>解绑时间</th>
                                                <th>恢复</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr v-for="(shop, index) in eledeletedshops">
                                                <td>{{ index + 1 }}</td>
                                                <td>{{ shop.name }}</td>
                                                <td>{{ shop.id }}</td>
                                                <td>{{ shop.account }}</td>
                                                <td>{{ shop.createTime }}</td>
                                                <td>{{ shop.deleteTime }}</td>
                                                <td style="color: #01AAED;" class="clickText">恢复</td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>

                    </div>
                    <div id="research" v-if="sectionindex == 9">
                        <table class="layui-table" lay-skin="line">
                            <colgroup>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                            </colgroup>
                            <thead>
                                <tr>
                                    <th>序号</th>
                                    <th>用户ID</th>
                                    <th>坐标</th>
                                    <th>地点</th>
                                    <th>num</th>
                                    <th>类别代码</th>
                                    <th>类别名称</th>
                                    <th>推送</th>
                                    <th>预览</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr v-for="(research,index) in researchList">
                                    <td>{{ index + 1 }}</td>
                                    <td>{{ research.user_id }}</td>
                                    <td>{{ research.location_xy }}</td>
                                    <td>{{ research.location_name }}</td>
                                    <td>{{ research.num }}</td>
                                    <td>{{ research.category_code }}</td>
                                    <td>{{ research.category_name }}</td>
                                    <td>
                                        <span v-if="research.num == 3" style="color: #009688;">正在生成报告</span>
                                        <i v-if="research.num == 4" class="layui-icon layui-icon-release" style="font-size: 16px; color: #009688;"></i>
                                    </td>
                                    <td><i v-if="research.num == 4" class="layui-icon layui-icon-picture-fine" style="font-size: 18px; color: #009688;"></i></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <!--效果对比-->
                    <div id="compare" v-if="sectionindex == 10">
                        <table class="layui-table" lay-skin="line">
                            <colgroup>

                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>

                            </colgroup>
                            <thead>
                                <tr>

                                    <th>备注</th>
                                    <th>推广前曝光/元</th>
                                    <th>推广后曝光/元</th>
                                    <th>差值</th>
                                    <th>推广前元/访客</th>
                                    <th>推广后元/访客</th>
                                    <th>差值</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr v-for="(biddingdata, index) in biddingdatalist">

                                    <td>{{ biddingdata.log }}</td>
                                    <td>{{ biddingdata.pre[0] }}</td>
                                    <td>{{ biddingdata.later[0] }}</td>
                                    <td>{{ biddingdata.cha[0] | numFilter }}</td>
                                    <td>{{ biddingdata.pre[1] }}</td>
                                    <td>{{ biddingdata.later[1] }}</td>
                                    <td>{{ biddingdata.cha[1] | numFilter}}</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <!--公众号录入的店铺,包括账号密码，剩余天数-->
                    <div  v-if="sectionindex == 11">
                        <table class="layui-table" lay-skin="line">
                            <colgroup>
                                <col>
                                <col width="160">
                                <col width="120">
                                <col width="90">
                                <col>
                                <col width="100">
                                <col width="100">
                                <col>
                                <col>
                                <col>
                            </colgroup>
                            <thead>
                                <tr>
                                    <th>序号</th>
                                    <th>店名</th>
                                    <th>账号</th>
                                    <th>密码</th>
                                    <th>平台</th>
                                    <th>备注</th>
                                    <th>主机</th>
                                    <th>激活码购买</th>
                                    <th>剩余天数</th>
                                    <th>到期提醒</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr v-for="(shop, index) in allshoplst">
                                    <td>{{ index + 1 }}</td>
                                    <td>{{ shop.name }}</td>
                                    <td>{{ shop.userName }}</td>
                                    <td>{{ shop.password }}</td>
                                    <td>{{ shop.type == 1?'美团':'饿了么'}}</td>
                                    <td>{{ shop.tip}}</td>
                                    <td>{{ shop.host }}</td>
                                    <td>{{ shop.code == 1?'是':'否'}}</td>
                                    <td>{{ shop.code == 1?shop.days:''}}</td>
                                    <td v-if="shop.code == 1"><i @click="sendMsg()" v-if="shop.days <= 3 " class="layui-icon layui-icon-release" style="font-size: 16px; color: #009688;"></i></td>
                                    <td v-if="shop.code == 0"></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <!--ip管理-->
                    <div v-if="sectionindex == 12">
                        <div class="layui-collapse">
                            <div class="layui-colla-item">
                                <h2 class="layui-colla-title">正在使用的IP&nbsp;{{ iplst.usingIpNum }}</h2>
                                <div class="layui-colla-content layui-show" style="padding-left: 35px;">
                                    <span v-for="ip in iplst.usingIp">{{ ip }}&emsp;&emsp;</span>
                                    <span v-if="iplst.usingIpNum == 0">暂无</span>
                                </div>
                            </div>

                            <div class="layui-colla-item">
                                <h2 class="layui-colla-title">备用的IP&nbsp;{{ iplst.spareIpNum }}个</h2>
                                <div class="layui-colla-content layui-show" style="padding-left: 35px;">
                                    <span v-for="ip in iplst.spareIp">{{ ip }}&emsp;&emsp;</span>
                                    <span v-if="iplst.spareIpNum == 0">暂无</span>

                                </div>

                            </div>

                            <div class="layui-colla-item">
                                <h2 class="layui-colla-title">失效的IP&nbsp;{{ iplst.invalidIpNum }}个</h2>
                                <div class="layui-colla-content layui-show" style="padding-left: 35px;">
                                    <span v-for="ip in iplst.invalidIp" style="color: red;">{{ ip }}&emsp;&emsp;</span>
                                    <span v-if="iplst.invalidIpNum == 0" style="color: #009688;">暂无</span>
                                </div>
                            </div>

                            <div class="layui-colla-item">
                                <h2 class="layui-colla-title">更换店铺IP（不会更换IP池）</h2>
                                <div class="layui-colla-content layui-show" style="padding-left: 35px;">
                                    <div class="layui-input-block" style="margin-left: 0px;height: 38px;">
                                        <input type="text"  placeholder="输入IP，多个IP仅用英文逗号隔开即可" autocomplete="off" v-model="ips" class="layui-input" style="float: left;margin-right:15px;width: 75%;">
                                        <button class="layui-btn" style="float: left;width: 10%" @click="changeip">提交</button>

                                    </div>
                                    <div class="layui-input-block" style="margin-left: 0px;color: red;line-height: 36px; " v-if="errortip">
                                       不得使用中文符号
                                    </div>
                                </div>
                            </div>

                        </div>
                    </div>
                    <!--网页店铺-->
                    <div  v-if="sectionindex == 13">
                        <table class="layui-table" lay-skin="line">
                            <colgroup>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                                <col>
                            </colgroup>
                            <thead>
                                <tr>
                                    <th>序号</th>
                                    <th>店名</th>
                                    <th>账号</th>
                                    <th>密码</th>
                                    <th>平台</th>
                                    <th>备注</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr v-for="(shop, index) in pcshoplst">
                                    <td>{{ index + 1 }}</td>
                                    <td>{{ shop.name }}</td>
                                    <td>{{ shop.userName }}</td>
                                    <td>{{ shop.password }}</td>
                                    <td>{{ shop.type == 1?'美团':'饿了么'}}</td>
                                    <td>{{ shop.tip}}</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>

            <div class="layui-footer">
                <span>{{ shopname }}&emsp;</span>
                <span v-if="settings.createTime != ''" style="color: #999999;">录店时间:&nbsp;{{ settings.createTime }}&emsp;</span>
                <span v-if="settings.lastEditTime != ''" style="color: #999999;">修改时间:&nbsp;{{ settings.lastEditTime }}</span>
            </div>
        </div>
    </div>

<script type="text/javascript">
    //JavaScript代码区域
    layui.use('element', function(){
        var element = layui.element;
    });

    layui.use('form', function(){
        var form = layui.form;
    });


</script>
<script type="text/javascript" src="shop-detail.js"></script>


</body>
</html>